package com.wwwarehouse.carddesk.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by minifly on 2017/9/19.
 * 卡片桌面信息框架返回实体
 */

public class CardDeskMessageResponseBean implements Serializable {

    /**
     * infoCards : [{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"肯定邀请11","operationType":"RESOURCE","ownerId":10,"relatedType":"RESOURCE","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"肯定邀请10","operationType":"ITEM","ownerId":10,"relatedType":"RESOURCE","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"物9","operationType":"ITEM","ownerId":10,"relatedType":"ITEM","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"物8","operationType":"ITEM","ownerId":10,"relatedType":"RESOURCE","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"物7","operationType":"ITEM","ownerId":10,"relatedType":"ITEM","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"谢绝邀请6","operationType":"ITEM","ownerId":10,"relatedType":"ITEM","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"谢绝邀请5","operationType":"RESOURCE","ownerId":10,"relatedType":"RESOURCE","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"谢绝邀请4","operationType":"RESOURCE","ownerId":10,"relatedType":"RESOURCE","relatedUkid":10001},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"接受邀请3","operationType":"RESOURCE","ownerId":10,"relatedType":"ITEM","relatedUkid":10000},{"actionUnitUkid":52021102524651010,"logoUrl":"goods.url","operationName":"物2","operationType":"ITEM","ownerId":10,"relatedType":"ITEM","relatedUkid":10002}]
     * orderSort : DESC
     * orderType : CREATE_TIME
     * page : 1
     * size : 10
     * total : 11
     */

    private String orderSort;
    private String orderType;
    private int page;
    private int size;
    private int total;
    private List<InfoCardsBean> infoCards;

    public String getOrderSort() {
        return orderSort;
    }

    public void setOrderSort(String orderSort) {
        this.orderSort = orderSort;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<InfoCardsBean> getInfoCards() {
        return infoCards;
    }

    public void setInfoCards(List<InfoCardsBean> infoCards) {
        this.infoCards = infoCards;
    }

    public static class InfoCardsBean {
        /**
         * actionUnitUkid : 52021102524651010
         * logoUrl : goods.url
         * operationName : 肯定邀请11
         * operationType : RESOURCE
         * ownerId : 10
         * relatedType : RESOURCE
         * relatedUkid : 10001
         */

        private long actionUnitUkid;
        private String logoUrl;
        private String operationName;
        private String operationType;
        private int ownerId;
        private String relatedType;
        private int relatedUkid;

        public long getActionUnitUkid() {
            return actionUnitUkid;
        }

        public void setActionUnitUkid(long actionUnitUkid) {
            this.actionUnitUkid = actionUnitUkid;
        }

        public String getLogoUrl() {
            return logoUrl;
        }

        public void setLogoUrl(String logoUrl) {
            this.logoUrl = logoUrl;
        }

        public String getOperationName() {
            return operationName;
        }

        public void setOperationName(String operationName) {
            this.operationName = operationName;
        }

        public String getOperationType() {
            return operationType;
        }

        public void setOperationType(String operationType) {
            this.operationType = operationType;
        }

        public int getOwnerId() {
            return ownerId;
        }

        public void setOwnerId(int ownerId) {
            this.ownerId = ownerId;
        }

        public String getRelatedType() {
            return relatedType;
        }

        public void setRelatedType(String relatedType) {
            this.relatedType = relatedType;
        }

        public int getRelatedUkid() {
            return relatedUkid;
        }

        public void setRelatedUkid(int relatedUkid) {
            this.relatedUkid = relatedUkid;
        }
    }
}
